﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CarCricketMatchApp
{
    /// <summary>
    /// The passenger from same car
    /// </summary>
    public class Passenger
    {
        #region private variable
        private string playerName;
        #endregion

        #region properties
        /// <summary>
        /// get and set name of passenger
        /// </summary>
        public string PlayerName
        {
            get { return playerName; }
            set { playerName = value; }
        }
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public Passenger(string name)
        {
            playerName = name;
        }
    }
}
